#!/bin/sh
mysql -u gps -pgps -D gps -e "load data local infile '$1' into table gpsin fields terminated by ',' enclosed by ';' (epoch,id,uid,telegram,payload);"
rm $1
